# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class TextResultDetail(object):

    def __init__(self, scene=None, label=None, score=None, suggestion=None, hintWordsInfos=None):
        """
        :param scene: (Optional) 检测场景，和调用请求中的场景对应
        :param label: (Optional) 检测结果的分类，与具体的scene对应。取值范围参考scene 和 label说明
        :param score: (Optional) 结果为该分类的概率，取值范围为0.00-100.00。值越高，表示越有可能属于该分类subLabel
        :param suggestion: (Optional) 建议用户执行的操作，取值范围pass：文本正常，无需进行其余操作，或者未识别出目标对象review：检测结果不确定，需要进行人工审核，或识别出目标对象block：图片违规，建议执行进一步操作（如直接删除或做限制处理）
        :param hintWordsInfos: (Optional) 命中该风险的上下文信息。具体结构描述见hintWordsInfo
        """

        self.scene = scene
        self.label = label
        self.score = score
        self.suggestion = suggestion
        self.hintWordsInfos = hintWordsInfos
